#ifndef BEGINCONNECTORIDESTHANDLER_H
#define BEGINCONNECTORIDESTHANDLER_H

#include "BeginConnDestHandlerBase.h"

class BeginConnectOriDestHandler:public BeginConnDestHandlerBase
{
public:
	BeginConnectOriDestHandler():BeginConnDestHandlerBase(){}

	~BeginConnectOriDestHandler(){}

protected:
	virtual void CreateSocketPostProcess(ClientContext&,OVERLAPPED*,SOCKET sock);

	virtual ITransHandler* GetNextHandler();

	virtual ExecuteResultCode OnExecuteError(ClientContext&,OVERLAPPED*,ExecuteResultCode);

private:
	static log4cplus::Logger log;
};

#endif